package com.iwhalecloud.springcloud.eureka.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by lib.
 * Date: 2019-01-02
 */
@RestController
public class TestController {

    @RequestMapping("/test")
    public String test(@RequestParam String name) {
        return "hello "+name+"，this is first messge";
    }
}
